<template>
    <div>
        <Count class="count-box"></Count>
        <div class="top-box">
            <AdminInfo class="top-box-item"></AdminInfo>
            <News class="top-box-item"></News>
        </div>
    </div>
</template>

<script>
import AdminInfo from './admin-info'
import News from './news'
import Count from './count'
export default {
    name: "dashboard",
    components: {
        AdminInfo,
        News,
        Count
    }
}
</script>

<style scoped>
.top-box {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.top-box-item {
    width: 45%;
}

.item-content {
    width: 100%;
}

.flex {
    display: flex;
    align-items: center;
}

.center {
    text-align: center;
}

.count-box {
    width: 100%;
}
</style>